package main

import "fmt"

func fbn(n int) {
	if n <= 0 {
		panic("invalid arg")
	}
	if n == 1 {
		fmt.Println(1)
		return
	}
	slice := make([]int, n)
	slice[0], slice[1] = 1, 1
	for i := 2; i < n; i++ {
		slice[i] = slice[i-1] + slice[i-2]
	}
	fmt.Println(slice)
}
func main() {
	fbn(12)
}
